<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../views/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>专家详细信息</title>
<head>
<meta charset="utf-8">
<title>专家详细信息</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">

<link rel="stylesheet"
	href="/fdoctor-ms/statics/beginnerAdmin/plugins/layui/css/layui.css"
	media="all" />
<link rel="stylesheet"
	href="/fdoctor-ms/statics/beginnerAdmin/plugins/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet"
	href="/fdoctor-ms/statics/beginnerAdmin/css/btable.css" />
<link rel="stylesheet"
	href="/fdoctor-ms/statics/css/global.css" />
<link rel="stylesheet"
	href="/fdoctor-ms/statics/ztree/css/metroStyle/metroStyle.css" />
<link rel="stylesheet"
	href="/fdoctor-ms/statics/ztree/css/demo.css" />

<script type="text/javascript"
	src="/fdoctor-ms/statics/beginnerAdmin/plugins/layui/layui.js"></script>
<script type="text/javascript"
	src="/fdoctor-ms/statics/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="/fdoctor-ms/statics/js/inputTools.js"></script>
<script type="text/javascript" src="/fdoctor-ms/statics/ztree/js/jquery.ztree.core.min.js"></script>
<script type="text/javascript" src="/fdoctor-ms/statics/ztree/js/jquery.ztree.excheck.min.js"></script>
</head>

<body>

	<fieldset class="layui-elem-field layui-field-title"
		style="margin-top: 5px; margin-left: 5px; margin-right: 5px">
		<legend>医生详细信息 </legend>
	</fieldset>
	<form class="layui-form" action="" id="dataForm">
	<div class="layui-form-item" style="width: 100%">
		<table class="layui-table" id="itable">
			<tr>
				<td style="width:80px;">医生姓名</td>
				<td style="width:200px;"><span>${expertVo.expertName}</span></td>
				<td style="width:80px;">性别</td>
				<td><span id="sex"></span></td>
			</tr>
			<tr>
				<td>电话</td>
				<td><span>${expertVo.phoneNumber}</span></td>
				<td>职称</td>
				<td><span>${expertVo.title}</span></td>
			</tr>
			<tr>
				<td>医院</td>
				<td><span>${expertVo.orgName}</span></td>
				<td>科室</td>
				<td colspan="3"><span>${expertVo.department}</span></td>
			</tr>
			<tr>
				<td>账号</td>
				<td><span >${expertVo.userName}</span></td>
				<td>密码</td>
				<td><span>${expertVo.password}</span></td>
			</tr>
			<tr>	
				<td>身份证</td>
				<td><span >${expertVo.idCard}</span></td>
				<td>执业证号</td>
				<td><span>${expertVo.practisingCertificateNumber}</span></td>
			</tr>
			<tr>
				<td>资格证号</td>
				<td colspan="3"><span>${expertVo.qualificationNumber}</span></td>
				
			</tr>
			<tr>
				<td>医生擅长</td>
				<td colspan="3"><span>${expertVo.specialty}</span></td>
			</tr>
			<tr>
				<td>简介</td>
				<td colspan="3"><span>${expertVo.introduction}</span></td>
			</tr>
		</table>
		</div>
			
		<hr>
	  <div align="center">
	  		<button class="layui-btn layui-btn-big layui-btn-primary layui-btn-radius" type="button" id="saveButton"><i class="layui-icon">&#xe618;</i>关闭</button>
	  </div>
	</form>




</body>
<script type="text/javascript">
	//初始化表单控件
	layui.use(
		[ 'jquery', 'form', 'laydate','upload' ],
		function() {
			$ = layui.jquery;
			form = layui.form();
			var laydate = layui.laydate;
	
			
			
			var sexT="${expertVo.sex}";
			if(sexT=="1"){
				$("#sex").text("男");
			}else if(sexT=="2"){
				$("#sex").text("女");
			}
			
			$('#saveButton').on('click', function(){
				
				layer.confirm('确认关闭？', {icon: 3,id : Math.ceil(100)}, function(index){
					var index = parent.layer.getFrameIndex(window.name);
			 					parent.layer.close(index);
			 					parent.tableConfig();
			 				
       			});
			})
		});
</script>
</html>